package main

import (
	"fmt"
	"os"
)

func argsSlice() {
	//arguments = os.Args
	argumentWithPath := os.Args
	argumentSlice := os.Args[1:]
	argumentAt2 := os.Args[2]

	fmt.Println(argumentWithPath)
	fmt.Println(argumentSlice)
	fmt.Println(argumentAt2)
}

func main() {
	fmt.Printf("Ths number of arguments: %d\n", len(os.Args))
	var s, arg string
	for i := 1; i < len(os.Args); i++ {
		s += arg + os.Args[i] + " "
	}
	fmt.Println(s)

	argsSlice()
}
